package com.cloud.portmana.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cloud.portmana.ModuleConstant;
import com.cloud.util.base.BaseAction;

@Controller
@RequestMapping("bgUserModuleMana")
public class BgUserModuleManaAction extends BaseAction {


	
	@RequestMapping("listuser.do")
	public String listuser(ModelMap modelMap){	
		try {
			return getViewsModelPathSys(ModuleConstant.MODEL_PATH+"bgUserModuleMana/userList");
		} catch (Exception e) {
			return getViewsModelPathSys(ModuleConstant.MODELAction_ErrorPATH);
		}
		
	}
	
	@RequestMapping("addUserLogin.do")
	public String addUserLogin(ModelMap modelMap){	
		try {
			return getViewsModelPathSys(ModuleConstant.MODEL_PATH+"bgUserModuleMana/editUser");
		} catch (Exception e) {
			return getViewsModelPathSys(ModuleConstant.MODELAction_ErrorPATH);
		}
		
	}
}
